// 处理与首页数据相关的请求接口的函数封装
import axios from "@/utils/http.js";

// 封装获取首页轮播图数据的接口
export const getSwiperAPI = () => {
    return axios({
        url: "/swiperList",
        method: "get",
    });
};

// 封装获取首页菜单的接口
export const getMenuListAPI = () => {
    return axios.get("/menulist");
};

// 封装获取推荐店铺的接口
export const getRecommendShopAPI = () => {
    return axios.get("/businessList");
};